<template>
    <a-textarea v-model:value="modelValue" :placeholder="placeholder" :maxlength="40" :show-count="showCount" :rows="rows" />
</template>
<script setup>
const modelValue = defineModel()

const props = defineProps({
    placeholder: {
        type: String,
        default: "请输入"
    },
    rows: {
        type: Number,
        default: 4
    },
    maxlength: {
        type: Number,
        default: 0
    },
    showCount: {
        type: Boolean,
        default: true
    }
})
</script>